﻿@model NOSDC.Areas.Admin.Models.AttendeeViewModel

@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <title>Print Attendees</title>
</head>
    <body onload="javascript:window.print()">
        <div style="margin:auto; text-align: center; padding:0; width: 650px;">
            <h1>NOSDC Event Registration Form</h1>
            <h3>@Model.EventName</h3>
            <div style="margin:auto; text-align: left; padding:0; border-top:1px solid #999; ">
                @for (var i = 0; i < Model.Users.Count(); i++)
                {
                    <div style="padding-top:10px;">
                        @if (i % 2 == 0)
                        {
                            <div style="float: left; width: 315px; padding: 5px;"><input type="checkbox" />@Model.Users[i].ToString()</div>
                        }
                        else
                        {
                            <div style="float: left; width: 300px; padding: 5px;">
                                <div style="float: left;"><input type="checkbox" />@Model.Users[i].ToString()</div>
                            </div>}
                    </div>
                } </div>
            <div style="clear:both; padding-top:10px; float:left;">
                <strong>Total Attendees</strong>: @Model.Users.Count
            </div>
        </div>
    </body>
</html>
